﻿@model EStore.Presentation.Web.ViewModels.ProductShowModel
<li>
    <h2 style="display: inline;">
        @Html.DisplayFor(modelItem => modelItem.Name)
    </h2>
    <span style="color: Red;">
        @Html.DisplayFor(modelItem => modelItem.PromotionWords)
    </span>
    <p>
        <img src="@Html.DisplayFor(modelItem => modelItem.Pic)" /></p>
    <p>
        原价:@Html.DisplayFor(modelItem => modelItem.OriginalPrice)
    </p>
    @if (Model.CanSale)
    {
        <p>
            售价： @Html.DisplayFor(modelItem => modelItem.SalePrice)
        </p>
        <p>
            <a href="">添加到购物车</a></p>
    }
</li>
